<!--
 * @Author: coman
 * @LastEditors: coman
 * @Date: 2020-06-09 19:02:48
 * @motto: No pain,No gain
 * @LastEditTime: 2020-06-09 19:04:59
--> 
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var i =1;
        while(i<=100){
        if(i%2!=0){
            console.log("奇数有"+i);
        }
        i++;
    }
    </script>
</body>
</html>